package com.yingxin.yxerp.module.dingtalk.controller;

import com.yingxin.yxerp.module.dingtalk.service.MessageNotificationService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RestController;


/**
 * 钉钉消息通知
 */
@Slf4j
@RestController
public class MessageNotificationController {

    @Autowired
    private MessageNotificationService messageNotificationService;

//    /**
//     * 发送群消息
//     *
//     * @return
//     */
//    @PostMapping("/message/group")
//    public String sendGroupMessage(@RequestBody DingTalkMessage dingTalkMessage) {
//        return messageNotificationService.sendGroupTextMsg(dingTalkMessage);
//
//    }

}
